from django.shortcuts import render
from django.http.response import HttpResponse
from django.views.decorators.http import require_http_methods

# Create your views here.
@require_http_methods(["GET", "POST"])
def index(request):
    data = "<h1>ok!</h1>"
    return HttpResponse(data, content_type="text/html")
